package com.liusand.user.mapper;

import com.liusand.entity.pojo.Setting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @author :liusha
 * packageName :com.liusand.user.mapper
 * fileName :SettingMapper
 * creationTime :2022/12/20 19:23
 */
@Mapper
public interface SettingMapper {
    Integer updateSetting(@Param("setting") Setting setting);

    Setting selectSettingByUser(@Param("userId") String userId);

    Integer insertSetting(@Param("setting")Setting setting);
}
